package querier

func filepathJoin(dir string, elems ...string) string {
	//pathStr := strCache.Get()
	//defer func() { strCache.Release(pathStr) }()
	//*pathStr = dir
	var path string
	path += dir
	for _, elem := range elems {
		//*pathStr += "/" + elem
		path += "/" + elem
	}
	//return *pathStr
	return path
}
